package com.ktdaddy.pojo;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "t_student_class_rel")
public class TStudentClassRel {
    @Id
    private Integer id;

    /**
     * 学生姓名
     */
    @Column(name = "stu_name")
    private String stuName;

    /**
     * 学号
     */
    @Column(name = "stu_code")
    private String stuCode;

    /**
     * 班级编号
     */
    @Column(name = "class_code")
    private String classCode;

    /**
     * 班级名称
     */
    @Column(name = "class_name")
    private String className;

    /**
     * 关联班级id
     */
    @Column(name = "class_id")
    private Integer classId;

    /**
     * 1:男 2：女
     */
    private Byte sex;

    @Column(name = "time_created")
    private Date timeCreated;

    @Column(name = "time_modified")
    private Date timeModified;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取学生姓名
     *
     * @return stu_name - 学生姓名
     */
    public String getStuName() {
        return stuName;
    }

    /**
     * 设置学生姓名
     *
     * @param stuName 学生姓名
     */
    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    /**
     * 获取学号
     *
     * @return stu_code - 学号
     */
    public String getStuCode() {
        return stuCode;
    }

    /**
     * 设置学号
     *
     * @param stuCode 学号
     */
    public void setStuCode(String stuCode) {
        this.stuCode = stuCode;
    }

    /**
     * 获取班级编号
     *
     * @return class_code - 班级编号
     */
    public String getClassCode() {
        return classCode;
    }

    /**
     * 设置班级编号
     *
     * @param classCode 班级编号
     */
    public void setClassCode(String classCode) {
        this.classCode = classCode;
    }

    /**
     * 获取班级名称
     *
     * @return class_name - 班级名称
     */
    public String getClassName() {
        return className;
    }

    /**
     * 设置班级名称
     *
     * @param className 班级名称
     */
    public void setClassName(String className) {
        this.className = className;
    }

    /**
     * 获取关联班级id
     *
     * @return class_id - 关联班级id
     */
    public Integer getClassId() {
        return classId;
    }

    /**
     * 设置关联班级id
     *
     * @param classId 关联班级id
     */
    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    /**
     * 获取1:男 2：女
     *
     * @return sex - 1:男 2：女
     */
    public Byte getSex() {
        return sex;
    }

    /**
     * 设置1:男 2：女
     *
     * @param sex 1:男 2：女
     */
    public void setSex(Byte sex) {
        this.sex = sex;
    }

    /**
     * @return time_created
     */
    public Date getTimeCreated() {
        return timeCreated;
    }

    /**
     * @param timeCreated
     */
    public void setTimeCreated(Date timeCreated) {
        this.timeCreated = timeCreated;
    }

    /**
     * @return time_modified
     */
    public Date getTimeModified() {
        return timeModified;
    }

    /**
     * @param timeModified
     */
    public void setTimeModified(Date timeModified) {
        this.timeModified = timeModified;
    }
}